package com.machineapps.botesom.model;

import com.machineapps.framework.annotation.Column;
import com.machineapps.framework.annotation.Id;
import com.machineapps.framework.annotation.Table;
import com.machineapps.framework.model.Entity;

@Table(name = "Button")
public class Button extends Entity {

	@Id
	@Column(name = "_id")
	private long id;

	@Column(name = "name")
	private String name;
	
	@Column(name="sound_file_name")
	private String soundFileName;

	@Column(name="image_file_name")
	private String imageFileName;

	public Button() {
	}

	public Button(String name) {
		super();
		this.name = name;
	}

	public Button(long id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the soundFileName
	 */
	public String getSoundFileName() {
		return soundFileName;
	}

	/**
	 * @param soundFileName the soundFileName to set
	 */
	public void setSoundFileName(String soundFileName) {
		this.soundFileName = soundFileName;
	}

	/**
	 * @return the imageFileName
	 */
	public String getImageFileName() {
		return imageFileName;
	}

	/**
	 * @param imageFileName the imageFileName to set
	 */
	public void setImageFileName(String imageFileName) {
		this.imageFileName = imageFileName;
	}

	@Override
	public String toString() {
		return "Name: " + name;
	}

}
